]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Ensure we clone a deep enough history for commit review
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 24 Apr 2019 10:24:12 +0000 (12:24 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 24 Apr 2019 11:31:41 +0000 (13:31 +0200)
It seems gitlab changed something recently in the default clone depth
which made MRs with >10 commits to obscurely fail in the review stage.
As per https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning, bump it
to 100 to allow bigger MRs.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/551

.gitlab-ci.yml

index 1c662ce3ab4a5d8a2f4fd38a484f5acbf4945a3f..c95799836435274db73ad04322f68ab8aab8ccb2 100644 (file)
@@ -17,6 +17,8 @@ variables:
 check_commit_log:
     image: registry.gitlab.gnome.org/gnome/mutter/master:v1
     stage: review
+    variables:
+        GIT_DEPTH: "100"
     script:
         - ./.gitlab-ci/check-commit-log.sh
     only: